<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box1 {
        /* width: 100px; */
        height: 100px;
        background: pink;
      }
      .box2 {
        width: 100px;
        height: 100px;
        background: skyblue;
      }
      .inline1 {
        width: 100px;
        height: 100px;
        background: pink;
      }
      .inline2 {
        background: pink;
      }
    </style>
  </head>
  <body>
    <div class="box1"></div>
    <div class="box2"></div>
    <span class="inline1">内联盒子1</span>
    <span class="inline2">内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2内联盒子2</span>
  </body>
</html>
